package com.example.demo1;

public class People {
    private Integer id; // 编号
    private Integer location; // 位置

    public People() {
    }

    public People(Integer id, Integer location) {
        this.id = id;
        this.location = location;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getLocation() {
        return location;
    }

    public void setLocation(Integer location) {
        this.location = location;
    }

    @Override
    public String toString() {
        return "People{" +
                "id=" + id +
                ", location=" + location +
                '}';
    }
}
